package com.woniuxy.three.pms.bean;


import java.math.BigDecimal;
import java.util.Arrays;
import java.util.List;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


public class RoomTypeBean {
    private Integer id;//房间类型id
    private String images[];
    private String message;//房间类型描述 标间、单件、大床房..

    @NotNull(message = "房间价格不能为空")
    private BigDecimal price;//该类房间价格


    private BigDecimal discounts;//该类房间优惠政策



    @NotBlank(message = "房间类型名字不能为空")
    private String name;//房间类型名字	

    private String imgs;//房间类型图片名字
    private Integer stock1;
    private Integer stock2;
    private Integer stock3;
    private Integer stock4;
    private Integer stock5;
    private Integer stock6;
    private Integer stock7;

    private List<RoomBean> list ;
    
    
    
    public String[] getImages() {
		return images;
	}

	public void setImages(String[] images) {
		this.images = images;
	}

	public List<RoomBean> getList() {
		return list;
	}

	public void setList(List<RoomBean> list) {
		this.list = list;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message == null ? null : message.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }


    public BigDecimal getDiscounts() {
        return discounts;

    }

    public void setDiscounts(BigDecimal discounts) {
        this.discounts = discounts;
    }

	public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getImgs() {
        return imgs;
    }

    public void setImgs(String imgs) {
        this.imgs = imgs == null ? null : imgs.trim();
    }

	public Integer getStock1() {
		return stock1;
	}

	public void setStock1(Integer stock1) {
		this.stock1 = stock1;
	}

	public Integer getStock2() {
		return stock2;
	}

	public void setStock2(Integer stock2) {
		this.stock2 = stock2;
	}

	public Integer getStock3() {
		return stock3;
	}

	public void setStock3(Integer stock3) {
		this.stock3 = stock3;
	}

	public Integer getStock4() {
		return stock4;
	}

	public void setStock4(Integer stock4) {
		this.stock4 = stock4;
	}

	public Integer getStock5() {
		return stock5;
	}

	public void setStock5(Integer stock5) {
		this.stock5 = stock5;
	}

	public Integer getStock6() {
		return stock6;
	}

	public void setStock6(Integer stock6) {
		this.stock6 = stock6;
	}

	public Integer getStock7() {
		return stock7;
	}

	public void setStock7(Integer stock7) {
		this.stock7 = stock7;
	}

	@Override
	public String toString() {
		return "RoomTypeBean [id=" + id + ", images=" + Arrays.toString(images) + ", message=" + message + ", price="
				+ price + ", discounts=" + discounts + ", name=" + name + ", imgs=" + imgs + ", stock1=" + stock1
				+ ", stock2=" + stock2 + ", stock3=" + stock3 + ", stock4=" + stock4 + ", stock5=" + stock5
				+ ", stock6=" + stock6 + ", stock7=" + stock7 + ", list=" + list + "]";
	}

	

	
    
    
}